package com.usian.wemedia.mapper;/*
 *文件名：WmNewsMaterialMapper
 *创建者：宋璟
 *创建时间:2023/2/13 10:28
 *描述: TODO
 */

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usian.model.media.pojos.WmNewsMaterial;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WmNewsMaterialMapper extends BaseMapper<WmNewsMaterial> {
    void saveRelationsByContent(@Param("materials") List<String> materials, @Param("newsId") Integer newId, @Param("type") int type);
}
